package cn.autumnorange.app.user.provider.repository;

import cn.autumnorange.app.common.repository.jpa.BaseJpaRepository;
import cn.autumnorange.app.user.provider.entity.SysUserEntity;
import org.springframework.stereotype.Repository;

@Repository
public interface SysUserJpaRepository extends BaseJpaRepository<SysUserEntity, Long> {

  SysUserEntity findByCodeAndIsDelete(String code, Boolean isDelete);
  //    @Override
  //    Optional<SysUserEntity> findById(Long aLong);
  //
  //    SysUserEntity findByUserName(String userName);
  //    List<SysUserEntity> findByUserNameAndAge(String userName, Integer age);
  //    List<SysUserEntity> findByUserNameLike(String userName);

}
